<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
      <title>Class MachiningProject | HiAPI-C# 2025 </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="title" content="Class MachiningProject | HiAPI-C# 2025 ">
      
      <meta name="description" content="Represents a milling project that manages the execution, simulation, and analysis of NC programs.">
      <link rel="icon" href="../img/HiAPI.favicon.ico">
      <link rel="stylesheet" href="../public/docfx.min.css">
      <link rel="stylesheet" href="../public/main.css">
      <meta name="docfx:navrel" content="../toc.html">
      <meta name="docfx:tocrel" content="toc.html">
      
      <meta name="docfx:rel" content="../">
      
      
      
      <meta name="loc:inThisArticle" content="In this article">
      <meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
      <meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
      <meta name="loc:tocFilter" content="Filter by title">
      <meta name="loc:nextArticle" content="Next">
      <meta name="loc:prevArticle" content="Previous">
      <meta name="loc:themeLight" content="Light">
      <meta name="loc:themeDark" content="Dark">
      <meta name="loc:themeAuto" content="Auto">
      <meta name="loc:changeTheme" content="Change theme">
      <meta name="loc:copy" content="Copy">
      <meta name="loc:downloadPdf" content="Download PDF">

      <script type="module" src="./../public/docfx.min.js"></script>

      <script>
        const theme = localStorage.getItem('theme') || 'auto'
        document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
      </script>

  </head>

  <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
    <header class="bg-body border-bottom">
      <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
        <div class="container-xxl flex-nowrap">
          <a class="navbar-brand" href="../index.html">
            <img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
            
          </a>
          <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-three-dots"></i>
          </button>
          <div class="collapse navbar-collapse" id="navpanel">
            <div id="navbar">
              <form class="search" role="search" id="search">
                <i class="bi bi-search"></i>
                <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
              </form>
            </div>
          </div>
        </div>
      </nav>
    </header>

    <main class="container-xxl">
      <div class="toc-offcanvas">
        <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
          <div class="offcanvas-header">
            <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
            <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
          </div>
          <div class="offcanvas-body">
            <nav class="toc" id="toc"></nav>
          </div>
        </div>
      </div>

      <div class="content">
        <div class="actionbar">
          <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
            <i class="bi bi-list"></i>
          </button>

          <nav id="breadcrumb"></nav>
        </div>

        <article data-uid="Hi.MachiningProcs.MachiningProject">



  <h1 id="Hi_MachiningProcs_MachiningProject" data-uid="Hi.MachiningProcs.MachiningProject" class="text-break">
Class MachiningProject  
  </h1>

  <div class="facts text-secondary">
    <dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.MachiningProcs.html">MachiningProcs</a></dd></dl>
  <dl><dt>Assembly</dt><dd>HiNc.dll</dd></dl>
  </div>

  <div class="markdown summary"><p>Represents a milling project that manages the execution, simulation, and analysis of NC programs.</p>
</div>
  <div class="markdown conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MachiningProject : IDisposable, IMachiningStepHost, IGetMachiningEquipment, IMakeXmlSource, IMachiningProjectGetter</code></pre>
  </div>




  <dl class="typelist inheritance">
    <dt>Inheritance</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
      <div><span class="xref">MachiningProject</span></div>
    </dd>
  </dl>

  <dl class="typelist implements">
    <dt>Implements</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
      <div><a class="xref" href="Hi.MachiningSteps.IMachiningStepHost.html">IMachiningStepHost</a></div>
      <div><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.IGetMachiningEquipment.html">IGetMachiningEquipment</a></div>
      <div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
      <div><a class="xref" href="Hi.MachiningProcs.IMachiningProjectGetter.html">IMachiningProjectGetter</a></div>
    </dd>
  </dl>


  <dl class="typelist inheritedMembers">
    <dt>Inherited Members</dt>
    <dd>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
    </div>
  </dd></dl>

  <dl class="typelist extensionMethods">
    <dt>Extension Methods</dt>
    <dd>
  <div>
      <a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate&lt;TSelf&gt;(TSelf, params object[])</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
  </div>
  </dd></dl>





  <h2 class="section" id="constructors">Constructors
</h2>


  <a id="Hi_MachiningProcs_MachiningProject__ctor_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject__ctor_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor(System.String)">
  MachiningProject(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a> class with the specified directory.
Uses the default MongoDB connection.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningProject(string baseDirectory)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Base directory for file operations</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject__ctor_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject__ctor_System_String_MongoDB_Driver_MongoClient_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor(System.String,MongoDB.Driver.MongoClient)">
  MachiningProject(string, MongoClient)
  
  </h3>

  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a> class with the specified directory and MongoDB client.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningProject(string baseDirectory, MongoClient mongoClient)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Base directory for file operations</p>
</dd>
    <dt><code>mongoClient</code> <span class="xref">MongoClient</span></dt>
    <dd><p>MongoDB client instance</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject__ctor_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject__ctor_System_Xml_Linq_XElement_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor(System.Xml.Linq.XElement,System.String)">
  MachiningProject(XElement, string)
  
  </h3>

  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a> class from XML data using MongoDB.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningProject(XElement src, string baseDirectory)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
    <dd><p>XML element containing configuration data</p>
</dd>
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Base directory for resolving relative paths</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject__ctor_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject__ctor_System_Xml_Linq_XElement_System_String_MongoDB_Driver_MongoClient_" data-uid="Hi.MachiningProcs.MachiningProject.#ctor(System.Xml.Linq.XElement,System.String,MongoDB.Driver.MongoClient)">
  MachiningProject(XElement, string, MongoClient)
  
  </h3>

  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a> class from XML data.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningProject(XElement src, string baseDirectory, MongoClient mongoClient)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
    <dd><p>XML element containing configuration data</p>
</dd>
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Base directory for resolving relative paths</p>
</dd>
    <dt><code>mongoClient</code> <span class="xref">MongoClient</span></dt>
    <dd><p>MongoDB client instance</p>
</dd>
  </dl>












  <h2 class="section" id="properties">Properties
</h2>


  <a id="Hi_MachiningProcs_MachiningProject_ApiVersion_" data-uid="Hi.MachiningProcs.MachiningProject.ApiVersion*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_ApiVersion" data-uid="Hi.MachiningProcs.MachiningProject.ApiVersion">
  ApiVersion
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the API version from the entry assembly.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Version ApiVersion { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.version">Version</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_BaseDirectory_" data-uid="Hi.MachiningProcs.MachiningProject.BaseDirectory*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_BaseDirectory" data-uid="Hi.MachiningProcs.MachiningProject.BaseDirectory">
  BaseDirectory
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the base directory where project files are located.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string BaseDirectory { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_BoundSelectorHost_" data-uid="Hi.MachiningProcs.MachiningProject.BoundSelectorHost*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_BoundSelectorHost" data-uid="Hi.MachiningProcs.MachiningProject.BoundSelectorHost">
  BoundSelectorHost
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the bound selector host for managing selection boundaries.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BoundSelectorHost BoundSelectorHost { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Numerical.StepSelectionUtils.BoundSelectorHost.html">BoundSelectorHost</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_ClStrip_" data-uid="Hi.MachiningProcs.MachiningProject.ClStrip*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_ClStrip" data-uid="Hi.MachiningProcs.MachiningProject.ClStrip">
  ClStrip
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the cutter location strip.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ClStrip ClStrip { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_CoordinateEntryDisplayee_" data-uid="Hi.MachiningProcs.MachiningProject.CoordinateEntryDisplayee*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_CoordinateEntryDisplayee" data-uid="Hi.MachiningProcs.MachiningProject.CoordinateEntryDisplayee">
  CoordinateEntryDisplayee
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the displayee for coordinate entry visualization.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public CoordinateEntryDisplayee CoordinateEntryDisplayee { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Numerical.CoordinateEntryDisplayee.html">CoordinateEntryDisplayee</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_DictionaryColorGuide_" data-uid="Hi.MachiningProcs.MachiningProject.DictionaryColorGuide*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_DictionaryColorGuide" data-uid="Hi.MachiningProcs.MachiningProject.DictionaryColorGuide">
  DictionaryColorGuide
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the color guide for dictionary-based coloring.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public DictionaryColorGuide DictionaryColorGuide { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Coloring.DictionaryColorGuide.html">DictionaryColorGuide</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_EnableCollisionDetection_" data-uid="Hi.MachiningProcs.MachiningProject.EnableCollisionDetection*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_EnableCollisionDetection" data-uid="Hi.MachiningProcs.MachiningProject.EnableCollisionDetection">
  EnableCollisionDetection
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets whether collision detection is enabled.
When set to true, initializes collision detection mechanism.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool EnableCollisionDetection { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_EnablePauseOnFailure_" data-uid="Hi.MachiningProcs.MachiningProject.EnablePauseOnFailure*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_EnablePauseOnFailure" data-uid="Hi.MachiningProcs.MachiningProject.EnablePauseOnFailure">
  EnablePauseOnFailure
  
  </h3>

  <div class="markdown level1 summary"><p>Enable Pause On Failure Detected.
Only take effect if the <a class="xref" href="Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_EnableCollisionDetection">EnableCollisionDetection</a> or <a class="xref" href="Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_EnableStrokeLimitCheck">EnableStrokeLimitCheck</a> is enabled.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool EnablePauseOnFailure { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_EnableStrokeLimitCheck_" data-uid="Hi.MachiningProcs.MachiningProject.EnableStrokeLimitCheck*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_EnableStrokeLimitCheck" data-uid="Hi.MachiningProcs.MachiningProject.EnableStrokeLimitCheck">
  EnableStrokeLimitCheck
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets whether stroke limit checking is enabled.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool EnableStrokeLimitCheck { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_Global_" data-uid="Hi.MachiningProcs.MachiningProject.Global*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_Global" data-uid="Hi.MachiningProcs.MachiningProject.Global">
  Global
  
  </h3>

  <div class="markdown level1 summary"><p>global variable for <a class="xref" href="Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_RuntimeApi">RuntimeApi</a>.
Not save on XML.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Dictionary&lt;object, object&gt; Global { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_InspectingKey_" data-uid="Hi.MachiningProcs.MachiningProject.InspectingKey*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_InspectingKey" data-uid="Hi.MachiningProcs.MachiningProject.InspectingKey">
  InspectingKey
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the current inspecting key for visualization.
When set, updates the inspecting quantity function.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string InspectingKey { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_InspectingQuantityFunc_" data-uid="Hi.MachiningProcs.MachiningProject.InspectingQuantityFunc*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_InspectingQuantityFunc" data-uid="Hi.MachiningProcs.MachiningProject.InspectingQuantityFunc">
  InspectingQuantityFunc
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the function that retrieves the quantity value for the current inspecting key.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Func&lt;MachiningStep, double?&gt; InspectingQuantityFunc { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="Hi.MachiningSteps.MachiningStep.html">MachiningStep</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>?&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MachiningActRunner_" data-uid="Hi.MachiningProcs.MachiningProject.MachiningActRunner*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MachiningActRunner" data-uid="Hi.MachiningProcs.MachiningProject.MachiningActRunner">
  MachiningActRunner
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the machining act runner responsible for executing machining operations.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningActRunner MachiningActRunner { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MachiningEquipment_" data-uid="Hi.MachiningProcs.MachiningProject.MachiningEquipment*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MachiningEquipment" data-uid="Hi.MachiningProcs.MachiningProject.MachiningEquipment">
  MachiningEquipment
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the machining equipment used for milling.
Updates related components when changed.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningEquipment MachiningEquipment { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MachiningSession_" data-uid="Hi.MachiningProcs.MachiningProject.MachiningSession*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MachiningSession" data-uid="Hi.MachiningProcs.MachiningProject.MachiningSession">
  MachiningSession
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the current machining session.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningSession MachiningSession { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MachiningSession.html">MachiningSession</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MachiningToolHouse_" data-uid="Hi.MachiningProcs.MachiningProject.MachiningToolHouse*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MachiningToolHouse" data-uid="Hi.MachiningProcs.MachiningProject.MachiningToolHouse">
  MachiningToolHouse
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the milling tool house containing available tools.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningToolHouse MachiningToolHouse { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Machining.MachiningToolHouse.html">MachiningToolHouse</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MachiningToolHouseFile_" data-uid="Hi.MachiningProcs.MachiningProject.MachiningToolHouseFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MachiningToolHouseFile" data-uid="Hi.MachiningProcs.MachiningProject.MachiningToolHouseFile">
  MachiningToolHouseFile
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the file path to the milling tool house configuration.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string MachiningToolHouseFile { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MillingActRunnerConfig_" data-uid="Hi.MachiningProcs.MachiningProject.MillingActRunnerConfig*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MillingActRunnerConfig" data-uid="Hi.MachiningProcs.MachiningProject.MillingActRunnerConfig">
  MillingActRunnerConfig
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the configuration for the milling act runner.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MillingActRunnerConfig MillingActRunnerConfig { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MillingActRunnerConfig.html">MillingActRunnerConfig</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MillingGuide_" data-uid="Hi.MachiningProcs.MachiningProject.MillingGuide*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MillingGuide" data-uid="Hi.MachiningProcs.MachiningProject.MillingGuide">
  MillingGuide
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the milling guide containing visualization and analysis configurations.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MillingGuide MillingGuide { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MillingProcs.MillingGuide.html">MillingGuide</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_MillingStepLuggageReader_" data-uid="Hi.MachiningProcs.MachiningProject.MillingStepLuggageReader*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MillingStepLuggageReader" data-uid="Hi.MachiningProcs.MachiningProject.MillingStepLuggageReader">
  MillingStepLuggageReader
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the reader for accessing milling step luggage data.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ParallelBulkReader&lt;MillingStepLuggage&gt; MillingStepLuggageReader { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.ParallelBulkUtils.ParallelBulkReader-1.html">ParallelBulkReader</a>&lt;<a class="xref" href="Hi.MillingSteps.MillingStepLuggage.html">MillingStepLuggage</a>&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_NcEnv_" data-uid="Hi.MachiningProcs.MachiningProject.NcEnv*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_NcEnv" data-uid="Hi.MachiningProcs.MachiningProject.NcEnv">
  NcEnv
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the NC environment from the NC runner.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NcEnv NcEnv { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Numerical.NcEnv.html">NcEnv</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_NcOptOptionDictionary_" data-uid="Hi.MachiningProcs.MachiningProject.NcOptOptionDictionary*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_NcOptOptionDictionary" data-uid="Hi.MachiningProcs.MachiningProject.NcOptOptionDictionary">
  NcOptOptionDictionary
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the dictionary of NC optimization options.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Dictionary&lt;string, NcOptOption&gt; NcOptOptionDictionary { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="Hi.NcOpt.NcOptOption.html">NcOptOption</a>&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_NcOptProc_" data-uid="Hi.MachiningProcs.MachiningProject.NcOptProc*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_NcOptProc" data-uid="Hi.MachiningProcs.MachiningProject.NcOptProc">
  NcOptProc
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the NC optimization processor for optimizing NC programs.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NcOptProc NcOptProc { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.NcOpt.NcOptProc.html">NcOptProc</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_NcRunner_" data-uid="Hi.MachiningProcs.MachiningProject.NcRunner*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_NcRunner" data-uid="Hi.MachiningProcs.MachiningProject.NcRunner">
  NcRunner
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the NC runner responsible for executing NC programs.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public NcRunner NcRunner { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Numerical.FilePlayers.NcRunner.html">NcRunner</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_PacePlayer_" data-uid="Hi.MachiningProcs.MachiningProject.PacePlayer*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_PacePlayer" data-uid="Hi.MachiningProcs.MachiningProject.PacePlayer">
  PacePlayer
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the pace player for controlling execution pace of milling operations.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public PacePlayer PacePlayer { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.PacePlayer.html">PacePlayer</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_PlayerCommand_" data-uid="Hi.MachiningProcs.MachiningProject.PlayerCommand*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_PlayerCommand" data-uid="Hi.MachiningProcs.MachiningProject.PlayerCommand">
  PlayerCommand
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the command to execute when playing the machining project.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IShellCommand PlayerCommand { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.ShellCommands.IShellCommand.html">IShellCommand</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_Progress_" data-uid="Hi.MachiningProcs.MachiningProject.Progress*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_Progress" data-uid="Hi.MachiningProcs.MachiningProject.Progress">
  Progress
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the progress reporting mechanism for long-running operations.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Progress&lt;IProgressReport&gt; Progress { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.progress-1">Progress</a>&lt;<a class="xref" href="Hi.Common.NativeProgresses.IProgressReport.html">IProgressReport</a>&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_RuntimeApi_" data-uid="Hi.MachiningProcs.MachiningProject.RuntimeApi*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_RuntimeApi" data-uid="Hi.MachiningProcs.MachiningProject.RuntimeApi">
  RuntimeApi
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the shell API for interacting with this machining process.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public RuntimeApi RuntimeApi { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.RuntimeApi.html">RuntimeApi</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_SessionMessageHost_" data-uid="Hi.MachiningProcs.MachiningProject.SessionMessageHost*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_SessionMessageHost" data-uid="Hi.MachiningProcs.MachiningProject.SessionMessageHost">
  SessionMessageHost
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the message host for displaying messages, warnings, and errors.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public SessionMessageHost SessionMessageHost { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_StepPropertyAccessDictionary_" data-uid="Hi.MachiningProcs.MachiningProject.StepPropertyAccessDictionary*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_StepPropertyAccessDictionary" data-uid="Hi.MachiningProcs.MachiningProject.StepPropertyAccessDictionary">
  StepPropertyAccessDictionary
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the dictionary mapping property keys to their access methods.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ConcurrentDictionary&lt;string, PropertyAccess&lt;MachiningStep&gt;&gt; StepPropertyAccessDictionary { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.concurrent.concurrentdictionary-2">ConcurrentDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="Hi.MachiningSteps.PropertyAccess-1.html">PropertyAccess</a>&lt;<a class="xref" href="Hi.MachiningSteps.MachiningStep.html">MachiningStep</a>&gt;&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_TimeMapping_" data-uid="Hi.MachiningProcs.MachiningProject.TimeMapping*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_TimeMapping" data-uid="Hi.MachiningProcs.MachiningProject.TimeMapping">
  TimeMapping
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the time mapping for synchronizing different time-based data streams.
Creates a new time mapping if one doesn't exist.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public TimeMapping TimeMapping { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mapping.TimeMapping.html">TimeMapping</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_Workpiece_" data-uid="Hi.MachiningProcs.MachiningProject.Workpiece*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_Workpiece" data-uid="Hi.MachiningProcs.MachiningProject.Workpiece">
  Workpiece
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the workpiece to be machined.
Ensures proper initialization of workpiece properties.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Workpiece Workpiece { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.NcMech.Workpieces.Workpiece.html">Workpiece</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_MachiningProcs_MachiningProject_XName_" data-uid="Hi.MachiningProcs.MachiningProject.XName*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_XName" data-uid="Hi.MachiningProcs.MachiningProject.XName">
  XName
  
  </h3>

  <div class="markdown level1 summary"><p>Name for XML IO.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string XName { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <h2 class="section" id="methods">Methods
</h2>


  <a id="Hi_MachiningProcs_MachiningProject_Act_" data-uid="Hi.MachiningProcs.MachiningProject.Act*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_Act_Hi_Numerical_Acts_IAct_Hi_Common_FileLines_IIndexedFileLine_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.MachiningProcs.MachiningProject.Act(Hi.Numerical.Acts.IAct,Hi.Common.FileLines.IIndexedFileLine,System.Nullable{System.Threading.CancellationToken})">
  Act(IAct, IIndexedFileLine, CancellationToken?)
  
  </h3>

  <div class="markdown level1 summary"><p>Executes an act and collects all results.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Act(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>act</code> <a class="xref" href="Hi.Numerical.Acts.IAct.html">IAct</a></dt>
    <dd><p>The act to execute.</p>
</dd>
    <dt><code>sourceCommand</code> <a class="xref" href="Hi.Common.FileLines.IIndexedFileLine.html">IIndexedFileLine</a></dt>
    <dd><p>The source command that triggered the act.</p>
</dd>
    <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
    <dd><p>Cancellation token to cancel the operation.</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_BeginSession_" data-uid="Hi.MachiningProcs.MachiningProject.BeginSession*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_BeginSession" data-uid="Hi.MachiningProcs.MachiningProject.BeginSession">
  BeginSession()
  
  </h3>

  <div class="markdown level1 summary"><p>Initiate a simulation session.
Clear the state from previous session (if existed).</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void BeginSession()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningProject_Dispose_" data-uid="Hi.MachiningProcs.MachiningProject.Dispose*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_Dispose" data-uid="Hi.MachiningProcs.MachiningProject.Dispose">
  Dispose()
  
  </h3>

  <div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningProject_Dispose_" data-uid="Hi.MachiningProcs.MachiningProject.Dispose*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_Dispose_System_Boolean_" data-uid="Hi.MachiningProcs.MachiningProject.Dispose(System.Boolean)">
  Dispose(bool)
  
  </h3>

  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>disposing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_EndSession_" data-uid="Hi.MachiningProcs.MachiningProject.EndSession*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_EndSession" data-uid="Hi.MachiningProcs.MachiningProject.EndSession">
  EndSession()
  
  </h3>

  <div class="markdown level1 summary"><p>Ends the current machining session and releases associated resources.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void EndSession()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningProject_GetInspectingKeyPresentName_" data-uid="Hi.MachiningProcs.MachiningProject.GetInspectingKeyPresentName*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_GetInspectingKeyPresentName_Hi_Common_StringLocalizer_" data-uid="Hi.MachiningProcs.MachiningProject.GetInspectingKeyPresentName(Hi.Common.StringLocalizer)">
  GetInspectingKeyPresentName(StringLocalizer)
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the localized presentation name for the current inspecting key.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string GetInspectingKeyPresentName(StringLocalizer stringLocalizer)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>stringLocalizer</code> <a class="xref" href="Hi.Common.StringLocalizer.html">StringLocalizer</a></dt>
    <dd><p>The string localizer to use for localization</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The localized presentation name</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_GetMachiningProject_" data-uid="Hi.MachiningProcs.MachiningProject.GetMachiningProject*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_GetMachiningProject" data-uid="Hi.MachiningProcs.MachiningProject.GetMachiningProject">
  GetMachiningProject()
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the MachiningProject instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningProject GetMachiningProject()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a></dt>
    <dd><p>The MachiningProject instance.</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_GetMillingEquipment_" data-uid="Hi.MachiningProcs.MachiningProject.GetMillingEquipment*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_GetMillingEquipment" data-uid="Hi.MachiningProcs.MachiningProject.GetMillingEquipment">
  GetMillingEquipment()
  
  </h3>

  <div class="markdown level1 summary"><p>Get <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public MachiningEquipment GetMillingEquipment()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a></dt>
    <dd><p><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a></p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_LoadFile_" data-uid="Hi.MachiningProcs.MachiningProject.LoadFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_LoadFile_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.LoadFile(System.String)">
  LoadFile(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Loads a machining project from the specified file path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static MachiningProject LoadFile(string projectFilePath)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>projectFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Path to the project file to load</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a></dt>
    <dd><p>A new machining project instance loaded from the file</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_MakeXmlSource_" data-uid="Hi.MachiningProcs.MachiningProject.MakeXmlSource*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.MachiningProcs.MachiningProject.MakeXmlSource(System.String,System.String,System.Boolean)">
  MakeXmlSource(string, string, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Creates an XML representation of the object.
This method may also generate additional resources such as related files.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The base directory for resolving relative paths</p>
</dd>
    <dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The relative file path for the XML source</p>
</dd>
    <dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>if true, the extended file creation is suppressed.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
    <dd><p>An XML element representing the object's state</p>
</dd>
  </dl>







  <h4 class="section" id="Hi_MachiningProcs_MachiningProject_MakeXmlSource_System_String_System_String_System_Boolean__remarks">Remarks</h4>
  <div class="markdown level1 remarks"><p>For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The <code class="paramref">baseDirectory</code> is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.</p>
</div>




  <a id="Hi_MachiningProcs_MachiningProject_PlayCsvFile_" data-uid="Hi.MachiningProcs.MachiningProject.PlayCsvFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_PlayCsvFile_System_String_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.PlayCsvFile(System.String,System.String)">
  PlayCsvFile(string, string)
  
  </h3>

  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void PlayCsvFile(string baseDirectory, string relFilePath)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
    <dt><code>relFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_PlayNc_" data-uid="Hi.MachiningProcs.MachiningProject.PlayNc*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_PlayNc_System_String_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.PlayNc(System.String,System.String)">
  PlayNc(string, string)
  
  </h3>

  <div class="markdown level1 summary"><p>Plays NC commands from raw text with pace control.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void PlayNc(string ncText, string fileNameAlternative = &quot;--&quot;)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>ncText</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The NC command text to execute</p>
</dd>
    <dt><code>fileNameAlternative</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Alternative name to associate with the NC program</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_PlayNcFile_" data-uid="Hi.MachiningProcs.MachiningProject.PlayNcFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_PlayNcFile_System_String_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.PlayNcFile(System.String,System.String)">
  PlayNcFile(string, string)
  
  </h3>

  <div class="markdown level1 summary"><p>Plays an NC file from the specified path with pace control.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void PlayNcFile(string baseDirectory, string relFilePath)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Base directory for resolving relative paths</p>
</dd>
    <dt><code>relFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Relative path to the NC file</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_ProcAct_" data-uid="Hi.MachiningProcs.MachiningProject.ProcAct*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_ProcAct_Hi_Numerical_Acts_IAct_Hi_Common_FileLines_IIndexedFileLine_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.MachiningProcs.MachiningProject.ProcAct(Hi.Numerical.Acts.IAct,Hi.Common.FileLines.IIndexedFileLine,System.Nullable{System.Threading.CancellationToken})">
  ProcAct(IAct, IIndexedFileLine, CancellationToken?)
  
  </h3>

  <div class="markdown level1 summary"><p>Processes an act and returns the results.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerable&lt;object&gt; ProcAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>act</code> <a class="xref" href="Hi.Numerical.Acts.IAct.html">IAct</a></dt>
    <dd><p>The act to process.</p>
</dd>
    <dt><code>sourceCommand</code> <a class="xref" href="Hi.Common.FileLines.IIndexedFileLine.html">IIndexedFileLine</a></dt>
    <dd><p>The source command that triggered the act.</p>
</dd>
    <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
    <dd><p>Cancellation token to cancel the operation.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
    <dd><p>Enumerable of results from processing the act.</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_ReTrainMillingPara_" data-uid="Hi.MachiningProcs.MachiningProject.ReTrainMillingPara*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_ReTrainMillingPara_Hi_MillingForces_Fittings_SampleFlag_System_Double_System_String_System_Threading_CancellationToken_" data-uid="Hi.MachiningProcs.MachiningProject.ReTrainMillingPara(Hi.MillingForces.Fittings.SampleFlag,System.Double,System.String,System.Threading.CancellationToken)">
  ReTrainMillingPara(SampleFlag, double, string, CancellationToken)
  
  </h3>

  <div class="markdown level1 summary"><p>Train Milling Parameter.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ReTrainMillingPara(SampleFlag sampleFlags, double outlierRatio, string dstRelFile, CancellationToken cancellationToken)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>sampleFlags</code> <a class="xref" href="Hi.MillingForces.Fittings.SampleFlag.html">SampleFlag</a></dt>
    <dd></dd>
    <dt><code>outlierRatio</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
    <dd></dd>
    <dt><code>dstRelFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
    <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
    <dd></dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_RefreshDrawing_" data-uid="Hi.MachiningProcs.MachiningProject.RefreshDrawing*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_RefreshDrawing" data-uid="Hi.MachiningProcs.MachiningProject.RefreshDrawing">
  RefreshDrawing()
  
  </h3>

  <div class="markdown level1 summary"><p>Refreshes the visual display of the milling course.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void RefreshDrawing()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningProject_ResetRuntime_" data-uid="Hi.MachiningProcs.MachiningProject.ResetRuntime*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_ResetRuntime" data-uid="Hi.MachiningProcs.MachiningProject.ResetRuntime">
  ResetRuntime()
  
  </h3>

  <div class="markdown level1 summary"><p>Reset the runtime states including: runtime geometry, collision flags, machine tool position, CL strips, message buffer and etc..</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ResetRuntime()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningProject_RunCsvFile_" data-uid="Hi.MachiningProcs.MachiningProject.RunCsvFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_RunCsvFile_System_String_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.RunCsvFile(System.String,System.String)">
  RunCsvFile(string, string)
  
  </h3>

  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerable&lt;Action&gt; RunCsvFile(string baseDirectory, string relFilePath)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
    <dt><code>relFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a>&gt;</dt>
    <dd></dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_RunNc_" data-uid="Hi.MachiningProcs.MachiningProject.RunNc*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_RunNc_System_String_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.RunNc(System.String,System.String)">
  RunNc(string, string)
  
  </h3>

  <div class="markdown level1 summary"><p>Runs NC commands from raw text.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerable&lt;Action&gt; RunNc(string ncText, string fileNameAlternative = &quot;--&quot;)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>ncText</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The NC command text to execute</p>
</dd>
    <dt><code>fileNameAlternative</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Alternative name to associate with the NC program</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a>&gt;</dt>
    <dd><p>An enumerable of actions to be executed</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_RunNcFile_" data-uid="Hi.MachiningProcs.MachiningProject.RunNcFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_RunNcFile_System_String_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.RunNcFile(System.String,System.String)">
  RunNcFile(string, string)
  
  </h3>

  <div class="markdown level1 summary"><p>Runs an NC file from the specified path.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerable&lt;Action&gt; RunNcFile(string baseDirectory, string relFilePath)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Base directory for resolving relative paths. If the value is null, <a class="xref" href="Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_BaseDirectory">BaseDirectory</a> substitudes the value.</p>
</dd>
    <dt><code>relFilePath</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a>&gt;</dt>
    <dd><p>An enumerable of actions to be executed</p>
</dd>
  </dl>











  <a id="Hi_MachiningProcs_MachiningProject_ShowMessageBoard_" data-uid="Hi.MachiningProcs.MachiningProject.ShowMessageBoard*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_ShowMessageBoard_System_String_System_String_Hi_Common_Messages_BootstrapTheme_" data-uid="Hi.MachiningProcs.MachiningProject.ShowMessageBoard(System.String,System.String,Hi.Common.Messages.BootstrapTheme)">
  ShowMessageBoard(string, string, BootstrapTheme)
  
  </h3>

  <div class="markdown level1 summary"><p>Shows a message board with the specified title, message, and theme.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ShowMessageBoard(string title, string message, BootstrapTheme bootstrapThemeColor)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>title</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The title of the message board</p>
</dd>
    <dt><code>message</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The message to display</p>
</dd>
    <dt><code>bootstrapThemeColor</code> <a class="xref" href="Hi.Common.Messages.BootstrapTheme.html">BootstrapTheme</a></dt>
    <dd><p>The theme color for the message board</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_TrainMillingPara_" data-uid="Hi.MachiningProcs.MachiningProject.TrainMillingPara*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_TrainMillingPara_Hi_MillingForces_Fittings_SampleFlag_System_Boolean_System_Double_System_String_System_Threading_CancellationToken_Hi_MillingForces_Fittings_ICuttingPara_" data-uid="Hi.MachiningProcs.MachiningProject.TrainMillingPara(Hi.MillingForces.Fittings.SampleFlag,System.Boolean,System.Double,System.String,System.Threading.CancellationToken,Hi.MillingForces.Fittings.ICuttingPara)">
  TrainMillingPara(SampleFlag, bool, double, string, CancellationToken, ICuttingPara)
  
  </h3>

  <div class="markdown level1 summary"><p>Train Milling Parameter.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void TrainMillingPara(SampleFlag sampleFlags, bool enableFzOnlyDuringDrilling, double outlierRatio, string dstRelFile, CancellationToken cancellationToken, ICuttingPara paraTemplate)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>sampleFlags</code> <a class="xref" href="Hi.MillingForces.Fittings.SampleFlag.html">SampleFlag</a></dt>
    <dd></dd>
    <dt><code>enableFzOnlyDuringDrilling</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
    <dt><code>outlierRatio</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
    <dd></dd>
    <dt><code>dstRelFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
    <dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
    <dd></dd>
    <dt><code>paraTemplate</code> <a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
    <dd></dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_UpdateIdealMillingToolOffsetTableByToolHouse_" data-uid="Hi.MachiningProcs.MachiningProject.UpdateIdealMillingToolOffsetTableByToolHouse*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_UpdateIdealMillingToolOffsetTableByToolHouse" data-uid="Hi.MachiningProcs.MachiningProject.UpdateIdealMillingToolOffsetTableByToolHouse">
  UpdateIdealMillingToolOffsetTableByToolHouse()
  
  </h3>

  <div class="markdown level1 summary"><p>Updates the ideal milling tool offset table based on the current tool house configuration.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void UpdateIdealMillingToolOffsetTableByToolHouse()</code></pre>
  </div>













  <a id="Hi_MachiningProcs_MachiningProject_WriteShotFile_" data-uid="Hi.MachiningProcs.MachiningProject.WriteShotFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_WriteShotFile_System_TimeSpan_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.WriteShotFile(System.TimeSpan,System.String)">
  WriteShotFile(TimeSpan, string)
  
  </h3>

  <div class="markdown level1 summary"><p>Writes time-based shot data to a file with the specified sampling period.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void WriteShotFile(TimeSpan samplingPeriod, string relFileTemplate = &quot;Output/[NcName].shot.csv&quot;)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>samplingPeriod</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a></dt>
    <dd><p>The time period between samples</p>
</dd>
    <dt><code>relFileTemplate</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Template for the output file path, can include [NcName] placeholder</p>
</dd>
  </dl>












  <a id="Hi_MachiningProcs_MachiningProject_WriteStepFile_" data-uid="Hi.MachiningProcs.MachiningProject.WriteStepFile*"></a>

  <h3 id="Hi_MachiningProcs_MachiningProject_WriteStepFile_System_String_" data-uid="Hi.MachiningProcs.MachiningProject.WriteStepFile(System.String)">
  WriteStepFile(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Writes step-based data to a file.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void WriteStepFile(string relFileTemplate = &quot;Output/[NcName].step.csv&quot;)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>relFileTemplate</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Template for the output file path, can include [NcName] placeholder</p>
</dd>
  </dl>












  <h2 class="section" id="events">Events
</h2>



  <h3 id="Hi_MachiningProcs_MachiningProject_OnRanNcBlock" data-uid="Hi.MachiningProcs.MachiningProject.OnRanNcBlock">
  OnRanNcBlock
  
  </h3>

  <div class="markdown level1 summary"><p>Event triggered after an NC block is executed.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Action OnRanNcBlock</code></pre>
  </div>






  <h4 class="section">Event Type</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
    <dd></dd>
  </dl>








  <h3 id="Hi_MachiningProcs_MachiningProject_OnShownMessageBoard" data-uid="Hi.MachiningProcs.MachiningProject.OnShownMessageBoard">
  OnShownMessageBoard
  
  </h3>

  <div class="markdown level1 summary"><p>Event that is triggered when a message board is shown.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event ShowMessageBoardDelegate OnShownMessageBoard</code></pre>
  </div>






  <h4 class="section">Event Type</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.Messages.ShowMessageBoardDelegate.html">ShowMessageBoardDelegate</a></dt>
    <dd></dd>
  </dl>








  <h3 id="Hi_MachiningProcs_MachiningProject_OnUpdatedInspectingQuantityFunc" data-uid="Hi.MachiningProcs.MachiningProject.OnUpdatedInspectingQuantityFunc">
  OnUpdatedInspectingQuantityFunc
  
  </h3>

  <div class="markdown level1 summary"><p>Event triggered when the inspecting quantity function is updated.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Action OnUpdatedInspectingQuantityFunc</code></pre>
  </div>






  <h4 class="section">Event Type</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
    <dd></dd>
  </dl>








</article>

        <div class="contribution d-print-none">
        </div>


      </div>

      <div class="affix">
        <nav id="affix"></nav>
      </div>
    </main>

    <div class="container-xxl search-results" id="search-results"></div>

    <footer class="border-top text-secondary">
      <div class="container-xxl">
        <div class="flex-fill">
          <span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
        </div>
      </div>
    </footer>
  </body>
</html>
